
<template>
  <div class="content-wrapper">
    <div class="content-header" />

    <div class="content-container">
      <el-tabs v-model="activeTab" @tab-click="a">
        <el-tab-pane label="现行版文件" name="active">
          <FlowDocumentActive />
        </el-tab-pane>
        <el-tab-pane label="作废版文件" name="invalid">
          <FlowDocumentInvalid />
        </el-tab-pane>
        <el-tab-pane label="流程审批中文件" name="audit">
          <FlowDocumentAudit />
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>

<script>
import FlowDocumentActive from '../flow_document_manage/components/flow_document_active.vue'
import FlowDocumentInvalid from './components/flow_document_Invalid.vue'
import FlowDocumentAudit from './components/flow_document_audit.vue'
import { listFolder } from '@/api/fd/folder'

export default {
  components: {
    FlowDocumentActive,
    FlowDocumentInvalid,
    FlowDocumentAudit
  },
  data() {
    return {
      activeTab: 'active',
      temp: {
        parentFolderId: null,
        folderName: null,
        folderId: null,
        repositoryId: 1
      }
    }
  },
  mounted() {},
  methods: {
    getFlowDocument() {
      listFolder(this.temp).then((res) => {
        console.log(res,'5353535');
        this.list = res.data
      })
    },
    a(val) {
      console.log(val, 'wywywyw')
    }
  }
}
</script>

<style>
</style>
